const Home = () => import("@/pages/Home");
const Search = () => import("@/pages/Search");
const Login = () => import("@/pages/Login");
const Register = () => import("@/pages/Register");
const NotFound = () => import("@/pages/404");

export default [
    {
        path: "/",
        redirect: "/home",
    },
    {
        path: "/home",
        component: Home,
        name: "Home",
    },
    {
        path: "/search",
        component: Search,
        name: "Search",
    },
    {
        path: "/login",
        component: Login,
        name: "Login",
        meta: {
            isHidden: true,
        }
    },
    {
        path: "/register",
        component: Register,
        name: "Register",
        meta: {
            isHidden: true,
        }
    },
    {
        path: "/*",
        component: NotFound,
    },
];